package com.congwulin.wechat.mapper.product;

import com.congwulin.wechat.entity.product.Product;

import java.util.List;

public interface ProductMapper {
    int deleteByPrimaryKey(String id);

    int insert(Product record);

    List<Product> selectByIDs(List<String> list);

    List<Product> selectByCodes(List<String> list);

    int batchInsert(List<Product> record);

    int insertSelective(Product record);

    Product selectByPrimaryKey(String id);

    int batchUpdate(List<Product> record);

    int updateByPrimaryKeySelective(Product record);

    int updateByPrimaryKey(Product record);
}